package com.yc.bean;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDateTime;

/**
 * 用户答题详情实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("userTestAnswers")
public class UserTestAnswer {
    
    @TableId(value = "answerId", type = IdType.AUTO)
    private Long answerId;
    
    @TableField("recordId")
    private Long recordId;
    
    @TableField("questionId")
    private Long questionId;
    
    @TableField("questionIndex")
    private Integer questionIndex;
    
    @TableField("selectedOptionId")
    private Long selectedOptionId;
    
    @TableField("optionValue")
    private Integer optionValue;
    
    @TableField("answerTime")
    private LocalDateTime answerTime;
} 